projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4421acf
)
led: correct off/on locations in structure
author
Jason Kridner
<
[email protected]
>
Wed, 20 Apr 2011 23:13:49 +0000
(18:13 -0500)
committer
Albert ARIBAUD
<
[email protected]
>
Sun, 4 Sep 2011 09:36:22 +0000
(11:36 +0200)
Although the initialization should probably be done with names, the
existing implementation has these structures filled in the opposite
order.
Signed-off-by: Jason Kridner <
[email protected]
>
Signed-off-by: Koen Kooi <
[email protected]
>
Signed-off-by: Joel A Fernandes <
[email protected]
>
Signed-off-by: Sandeep Paulraj <
[email protected]
>
common/cmd_led.c
patch
|
blob
|
history
diff --git
a/common/cmd_led.c
b/common/cmd_led.c
index 8b468486e0f9538fc606c0b862cd0ec2ee73e978..d14dd5adab5d65a10aff55fd8304540ff51e9389 100644
(file)
--- a/
common/cmd_led.c
+++ b/
common/cmd_led.c
@@
-34,8
+34,8
@@
struct led_tbl_s {
char *string; /* String for use in the command */
led_id_t mask; /* Mask used for calling __led_set() */
- void (*o
n)(void); /* Optional fucntion for turning LED on
*/
- void (*o
ff)(void); /* Optional fucn
tion for turning LED on */
+ void (*o
ff)(void); /* Optional function for turning LED off
*/
+ void (*o
n)(void); /* Optional func
tion for turning LED on */
};
typedef struct led_tbl_s led_tbl_t;